<#assign StringUtils = beansWrapperFn.getStaticModels()["org.apache.commons.lang3.StringUtils"]>
SELECT
NOW()
FROM
DUAL
UNION
ALL
SELECT
MAX(t.CREATED_DATE)
FROM
C1_OPERATE_LOG T
WHERE t.code = :code
AND t.type_id = :typeId
<#if StringUtils.isNotBlank(businessCode)>
AND T.BUSINESS_CODE = :businessCode
</#if>
